/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package heart_0812025;

/**
 *
 * @author BAO
 */
public class Card {
    private int ID;
    private int Ten;
    private int Mau;
    private int Diem;

    public Card(int id)
    {
        if(id > 0 && id < 53)
            ID = id;
        else
            ID = 0;
        Ten = ID/4 + 1;
        Mau = ID%4;
    }
    public int GetID()
    {
        return ID;
    }

    public int GetTen()
    {
        return Ten;
    }

    public int GetMau()
    {
        return Mau;
    }
}
